gtk: Small documentation fixes
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 May 2019 02:57:49 +0000 (02:57 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 May 2019 03:24:14 +0000 (23:24 -0400)
gtk/gtkfixedlayout.c
gtk/gtkgridlayout.c
gtk/gtkpasswordentry.c
gtk/gtksnapshot.c

index cd37590100a9e0ed453dda133da29d06ea8d744b..5363d8e4e517452bf64e965b5ed9150a767765e1 100644 (file)
@@ -334,6 +334,13 @@ gtk_fixed_layout_init (GtkFixedLayout *self)
 {
 }
 
+/**
+ * gtk_fixed_layout_new:
+ *
+ * Creates a new #GtkFixedLayout.
+ *
+ * Returns: the newly created #GtkFixedLayout
+ */
 GtkLayoutManager *
 gtk_fixed_layout_new (void)
 {
index fe7c9ff4b1feb70f0bd55ac44000650eca18c1a1..aa7bc69ed150e5dd8a5217ed7b1f134506357519 100644 (file)
@@ -1726,7 +1726,7 @@ gtk_grid_layout_init (GtkGridLayout *self)
 }
 
 /**
- * gtk_grid_layou_new:
+ * gtk_grid_layout_new:
  *
  * Creates a new #GtkGridLayout.
  *
index 725ef96a0d4e0a92a52b54074dce90b7a664a72e..4d7edba2e8d7c9be38eaaea2b2a5a757114ced70 100644 (file)
@@ -446,7 +446,7 @@ gtk_password_entry_new (void)
 /**
  * gtk_password_entry_set_show_peek_icon:
  * @entry: a #GtkPasswordEntry
- * show_peek_icon: whether to show the peek icon
+ * @show_peek_icon: whether to show the peek icon
  *
  * Sets whether the entry should have a clickable icon
  * to show the contents of the entry in clear text.
index dde973a867dc5276c09dc976fa4c8813f17153d0..98d86619a3ea20527c9a5d759d5b07b006bb4a8f 100644 (file)
@@ -611,6 +611,16 @@ gtk_snapshot_ensure_identity (GtkSnapshot *snapshot)
     gtk_snapshot_autopush_transform (snapshot);
 }
 
+/**
+ * gtk_snapshot_push_repeat:
+ * @snapshot: a #GtkSnapshot
+ * @bounds: the bounds within which to repeat
+ * @child_bounds: the bounds of the child
+ *
+ * Creates a node that repeats the child node.
+ *
+ * The child is recorded until the next call to gtk_snapshot_pop().
+ */
 void
 gtk_snapshot_push_repeat (GtkSnapshot           *snapshot,
                           const graphene_rect_t *bounds,